package com.j180.bean;

import java.io.Serializable;

public class ResultBean implements Serializable {
    //操作成功的标识符  0 失败 1 成功
    private int code;

    private Object data;

    private String msg;

    public ResultBean(){

    }

    public ResultBean(int code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
